fix user login/registration as well as displayed info after user login and changing the name from user profile. Path users/$id now works