Fixed code related issues and moved static queries as constant in userRepository hibernate
Merge pull request #391 from sheebans/master

Fixed code related issues and moved static queries as constant in userRepository hibernate