add logging-in functionality from home page sign-in box.