Added Direct Login and Sign up
Fixed some authentication bugs