create handler for user