Created authentication logic for login system. Implemented members-only access based on succssful login.