Replaced ugly manual auth check with login decorator