Implement integration with WS to acquire session token

 - Organize imports and improve code formatting in several classes
 - Implement simple integration with WS backend
 - Add some validations on UI