Reverted to my changes

Changes for making Login work