Added business layer code to search for user by username and by id