made changes to config files to change rails version to 4.0
started working on login function and add-friend function