Login finally works... kind of, User profile showing user's galleries, PS: I hate angularjs!