Added feature tests for login