Changed login errors and some minor things.