added more java files for creating users

@dmansour  or @MarcusRogers we either need to use js to have different
actions for login/register or have 2 forms or pages for login and
registration please