Fixed logging in users class