made login/registration page use ionic, get my applications from server