Converted login to a user control