added a login directive every time user_id is not passes at clinic dashboard