init user table if it isnt exists.
pass middleware to mount-auth.
mk-pgparam: change type of stored auth info.
add /loggedin endpoint.

- return true if user is authenticated.
Merge remote-tracking branch 'origin/feature/auth' into feature/auth