implement user tests
user and session testes
add validation of session
Merge pull request #1 from horaciosystem/authentication_control

Authentication control