corrected create user
added user logout in create user