Added gitignore and fixed a bug with the add friend button