added JAX-RS filters for login and authentication. Also package refactoring