Bugfix, use profile of the login user