Login stuff looks cool

Added some error checking