Implemented first version of profile dialog