Used decorator so user redirects to login page and then back to original page if not logged in