added user authentication, hide/show views depending on if the user is logged in.