Created login and info submission methods.