Added logout to controller, implemented has_access inside user model and fixed login title