Fixed a Bug in projects

object mysqlManager was only created if the user was logged in.