email not working yet + moved all routes to /api
fixed logout
friendship handling checked and fixed
tracks checked and fixed