Authorization added, user roles introduced

Added login page and backend part of authorization. (Only single session
per account supported for now).