Adaptation

Adapting to changes the others made. registration and login still work.