adding more utility functions to base bloghandler class and more functions to model class (User)