Changed base.html and redirections