Finished the project with teamId inside user in DB

Added many comments. Solved the DB problem so that the user is correctly
linked to the team. Retrieving information from DB in /profile is possible
although it would be very nice to have a button to specifiy the id you
want the page to show