[Issue #9] Add custom user authentication; add pom.xml files and tests