User login and register refactored, user helper implemented. New library
used - apache commons lang.