Created User class. TODO: make it work in production