add else case to username, userimage when user not found