Reverted links in C files. Made the login script generate a page instead of redirecting.