Moved authentication into yml files