Adding async login

#52