UIKit adaption of Login and Registration