added user class and favorites