Fixed #15 -- Added login_required decorator to the view