Now mulithreaded and has email and password fields for User.