fixed signin.js (pro_profile) with SEMAPHORE