Code cleanup. Unauthorized login redirection is still WIP