Quick login implementation in Swift