add authentication

Add files and dump DB for authentication/ Also add roles and rules for
roles
test

test
fix initialization

fix session initialization
add code to base64 password

add code to base64 password
Add security settings

All resources can be accessed only that how have corresponding role