fixed bug with hanging gui while signing up by changed register method to async and usage of Task.Run to run expensive operationcs