renamed and moved auth controller
fixing validNetwork check
removing code infavor of using built in validator
adding auth login tests