refactored with methods

changed user details