Primefaces 5, Spring 4, Spring Security 3 and Hibernate 4 application with user agent detection for mobile devices