Login View Controller rewritten with swift