test for login and camera function