Back-end for user authorization and authentication