tying together log in and registration functions
renaming files to tie together logIn and Reg