Refactoring + Login logic

Refactored some of the old code, removed a small bug in the
login-encryption view. Added code for the correct handling of succesfull
login, including login menu and user management. Added an 'Add Friend'
JPanel.