fixed issue 17 - app now detects server before creating bcrypt object