Got logins working

Yes users can now be registered and logged in!