simplified user/pass and authetification checking