configured devise to login as username or password