Added auth file
moved func
moved more funcs
moved imports