updated friendships functionality, created more models