Fixing login error and Error message place.

Thanks to Ch0cu3r.