adding ajax call to retreive user profile
fixing ajax return from php
adding image loader