Added user class and site_info function