Api-Methods Change

Added login validation and user creating methods