Fixed registration, login, sing out, profile show and all related bugs in other classes