Begin login and registration implementation