Added Tests for Login Functionality