cleaned up ui. added in some error messages. fixed auto login after
registering. fixed some queries