adding tests for login section