Feature/change login

Also includes code that forbids admins from updating other users.