fixes and ajax signing in