int update_pic(User *user, const char *filename) {
    if (sizeof(filename) > 31) {
        return 2;
    } else if (fopen(filename, "r") == NULL) 
    {
        return 1;
    } else {
        strncpy(user->profile_pic, filename, 32);
    }
open the file and assign it to user profile pic