Fixed login errors, installed links in the homepage and profile, and fixed second graph