Removed soem obsolete code regarding user profile table
that was makign the app crash.