added authentication with devise, also invitable module