rearrange files for user login and registration