add friend handler and sql files