Added tests for logins