test admin and normal user login and logout