First attempt at user authentification. I wouldn't use it if I were you.