Changed base.html to verify user login