Add WIP login function.