Added new things in mobile api and fixed the username too long problem