Login with pub key

hash of skey will be saved in the database