initialise auth method for forms - implemented in facebook