add view when user is logged in