AC-14: Updated gradle configuration with tests build.
Fixed PMD and Checkstyle errors.
AC-3: As a user I want to be able to log in.