created auth.py for passing the login decorator to the modules