Added friend functionality login, logout and display