The lines that will not allow to register users if another user is logged in are commented.