New Working Login and Register

-Login
-Register
-Correct Ouput