registration and login should not crash now, some minor errorhandling examples, loginactivity layout cleaned up a bit