Hook up login page so it actually works! TODO: add registration