rest path login