Refactoring
Get email and password from JSON
Fix