User improvements

Login and User validation improvements.