using different view page for logged in and non logged in