Start with login function.