changed views functions to views classes
fixed bugs with registration and authorization
added category model
separated product view