Added stored procedure to retrieve detail profile information