setup postgresql database

added profiles and signup apps