fix regexp for mobile
fix tests for email_confirmation