rewritten register, profile photo upload now works :), added register thread handler, improved thread managment and fixed inflating bugs withgroups fragments