check for authentication in all secure files && create basic login and registration form