got rid of deprecated GrantedAuthorityImpl and replaced with SimpleGrantedAuthority, tweaked find user query to accept emails, made both email and username queries case insensitive.