simple realize the function of Login and Register in JFB APP