usermanagement unittest added for register, login and logout