Created auth server & view actions to avoid circular dependency. signin now working as it should