Added base view and API for getting logged in user details