updated user auth and view of all users
renamed SessionsController to LoginsController