Fixed all login checking