Removed console logs, redirect on login