Separate SystemMessage type to shared.
Add new dependencies: util, node-uuid.
Create new type: SystemMessage.
Implement login handler which check if everything is valid. Handler also create cookie and add key to redis via setex.