Added/amended files so that users can register/login/logout